package com.simple.core.constants;


/**
 * http状态码
 */
public enum HttpResCode {

    HTTP_200(200,"成功"),
    HTTP_500(500,"失败"),
    ;

    int code;
    String msg;

    HttpResCode(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
